package com.sea.operate.service;


import com.sea.operate.entity.Related;
import com.sea.operate.entity.RelatedMaterial;
import com.sea.operate.entity.RelatedMaterialDetail;

import java.io.InputStream;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface RelatedMaterialService {
    /**
     * 条件查询
     * @param relatedMaterial
     * @return
     */
    List<RelatedMaterial> findByCnd(RelatedMaterial relatedMaterial);

    Integer save(RelatedMaterial relatedMaterial);

    RelatedMaterial findByListingChannel(RelatedMaterial relatedMaterial);

    List<RelatedMaterialDetail> exportFnSkuByProduceId(Integer produceId);

    Integer updateModifyTime(Integer id);
}
